using System.Net.WebSockets;
using System.Threading.Tasks;

namespace demowebsocket
{
    public interface IWebStocketHandler
    {
        public   Task OnClientConnect(WebSocket socket);

        public Task OnClientClose(WebSocket socket);

        public Task ReceiveMessageText(WebSocket socket, int len, byte[] buf);
    }
}